<volist name='data.list' id='vo'>
		
	<div style='display:flex;border-bottom:1px solid #aaa;border-top:1px solid #aaa;margin-top:5px'>

		<div style='flex:5;background:#ddd;padding:5px' class='service_index_infos_detail' info_id='{$vo.info_id}' service_id='{$vo.info_service_type_id}'>
			<div style='display:flex'>
				<div style='flex:2'>{$vo.info_title}</div>
				<div style='flex:1;text-align:right'>
					<switch name='vo.info_stat'>
						<case value='1'><span style='color:red'>待审核</span>　<button class='service_info_control_infoList_edit' type='allow' info_id='{$vo.info_id}' uid='{$vo.info_uid}'>通过</button><button class='service_info_control_infoList_edit' type='deny' info_id='{$vo.info_id}' uid='{$vo.info_uid}'>不通过</button></case>
						<case value='2'><span style='color:green'>正常</span>　<button class='service_info_control_infoList_edit'  type='del' info_id='{$vo.info_id}' uid='{$vo.info_uid}'>删除</button></case>
						<case value='3'><span style='color:red'>未通过</span>　<button class='service_info_control_infoList_edit'  type='allow' info_id='{$vo.info_id}' uid='{$vo.info_uid}'>通过</button></case>
						<case value='4'><span style='color:blue'>以删除</span>	<button class='service_info_control_infoList_edit'  type='recovery' info_id='{$vo.info_id}' uid='{$vo.info_uid}'>恢复</button></case>
					</switch>
					
				
				</div>
			</div>
			<div style='font-size:12px'>
				<div style='float:left;margin-right:20px'>类别：{$vo.info_cond_type}</div>

				<if condition="$vo['info_cond_price']">
					<div style='float:left;margin-right:20px'>
						<if condition="$vo['info_service_type_id'] eq 24">
							薪资
						<else/>
							价格
						</if>
					：{$vo.info_cond_price} 元</div>
				</if>


				

				<!--二手车-->
				<if condition="$vo['info_cond_brand']">
					<div style='float:left;margin-right:20px'>品牌：{$vo.info_cond_brand} </div>
				</if>
				<if condition="$vo['info_cond_car_type']">
					<div style='float:left;margin-right:20px'>车型：{$vo.info_cond_car_type} </div>
				</if>
				<if condition="$vo['info_cond_use_year']">
					<div style='float:left;margin-right:20px'>使用年限：{$vo.info_cond_use_year} </div>
				</if>

				<!--招聘求职 -->
				<if condition="$vo['info_cond_industry']">
					<div style='float:left;margin-right:20px'>行业：{$vo.info_cond_industry}</div> <!--招聘和外兑信息共享-->
				</if>
				<if condition="$vo['info_cond_experience']">
					<div style='float:left;margin-right:20px'>经验：{$vo.info_cond_experience}</div>
				</if>
				<if condition="$vo['info_cond_edu']">
					<div style='float:left;margin-right:20px'>学历：{$vo.info_cond_edu}</div>
				</if>

				<!--旧货-->
				<if condition="$vo['info_cond_goods_type']">
					<div style='float:left;margin-right:20px'>物品分类：{$vo.info_cond_goods_type}</div>
				</if>

				<!--房屋租售-->
				<if condition="$vo['info_cond_shape']">
					<div style='float:left;margin-right:20px'>户型：{$vo.info_cond_shape}</div>
				</if>
				<if condition="$vo['info_cond_area']">
					<div style='float:left;margin-right:20px'>面积：{$vo.info_cond_area}平米</div>
				</if>

				<!--宠物交易-->
				<if condition="$vo['info_cond_animal_type']">
					<div style='float:left;margin-right:20px'>宠物分类：{$vo.info_cond_animal_type}</div>
				</if>

				<div style='float:left;margin-right:20px'>{$vo.info_city1} {$vo.info_city2} {$vo.info_city3}</div>


				<div style='float:left;margin-right:20px'>{$vo.info_ctime|date='Y-m-d H:i',###}</div>

			</div>
			<div style='font-size:12px;clear:both;word-break:break-all'>
				详情：{$vo.info_content}
			</div>
			<if condition="$vo.info_imgs neq 'null'">
				<volist name='vo.info_imgs' id='vo'>
					<img srcs='{:C('upyun_src')}{$vo}!be' style='height:50px;margin-left:10px;border:5px solid #ccc' class='service_info_control_infoList_bigImg' />
				</volist>
			</if>
		</div>
	</div>
</volist>	

<div id='service_info_control_infoList_bigImg' style='position:fixed;top:300px;left:300px;display:none'>
	<img src='' height='200px' />
</div>

<div style='margin-top:20px' id='serviceInfoControlInfoList_fpage'>
	
	{$data.fpage}
</div>

<script>
	$(function(){
		$('.service_info_control_infoList_bigImg').each(function(){
			$(this).attr('src',$(this).attr('srcs'));
		});

		//查看大图片
		$('.service_info_control_infoList_bigImg').mouseover(function(){
			var tmp_scroll = $(document).scrollTop();
			var tmp_left = $(this).offset().left;
			var tmp_top = $(this).offset().top - tmp_scroll-200;
			$('#service_info_control_infoList_bigImg').css('display','block').css('left',tmp_left+'px').css('top',tmp_top+'px');
			$('#service_info_control_infoList_bigImg > img').attr('src',$(this).attr('src'));
		}).mouseout(function(){
			$('#service_info_control_infoList_bigImg').css('display','none');
		});


		//信息操作
		$('.service_info_control_infoList_edit').click(function(){

			var info_id = $(this).attr('info_id');
			var uid = $(this).attr('uid');
			$.ajax({
				url:'__URL__/service_info_check_edit',
				type:'post',
				data:{
					type:$(this).attr('type'),
					info_id:info_id,
					uid:uid,
					service_id:sessionStorage.serviceInfoControl_serviceId
				},
				success:function(res){
					location.reload(true);
				}
			});
		});




		//分页
		$('#serviceInfoControlInfoList_fpage a').click(function(){
			sessionStorage.serviceInfoControl_pnow = $(this).attr('pnow');
			service_info_control_infoList();
		});
	});
</script>